<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8" />
	<title>users</title>
</head>
<body>
	<fieldset>
		<legend>随机数</legend>
		<p>随机数是<span th:if="${randomInt%2} == 1">奇数</span><span th:if="${randomInt%2} == 0">偶数</span>=<span th:text="${randomInt}"></span></p>
	</fieldset>
	<fieldset>
		<legend>用户列表</legend>
			<table>
				<thead>
					<tr><td>ID</td><td>username</td></tr>
				</thead>
				<tbody>
					<tr th:each="user : ${users}">
					  <td th:text="${user.id}">a</td>
					  <td th:text="${user.username}">b</td>
					</tr>			    
				</tbody>
			</table>
	</fieldset>	
</body>
</html>